package com.ruoyi.info.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 驾驶人信息对象 vinfo_driver
 *
 * @author oy
 * @date 2022-12-16
 */
public class VinfoDriver extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 驾驶人id */
    private Long driverId;

    /** 驾驶人姓名 */
    @Excel(name = "驾驶人姓名")
    private String driverName;

    /** 驾驶人电话 */
    @Excel(name = "驾驶人电话")
    private String phone;

    /** 驾驶证号码 */
    @Excel(name = "驾驶证号码")
    private String driverLicenseNum;

    /** 驾驶证照片 */
    @Excel(name = "驾驶证照片")
    private String driverLicenseImage;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /** 是否删除 */
    private String isdel;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setDriverId(Long driverId)
    {
        this.driverId = driverId;
    }

    public Long getDriverId()
    {
        return driverId;
    }
    public void setDriverName(String driverName)
    {
        this.driverName = driverName;
    }

    public String getDriverName()
    {
        return driverName;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setDriverLicenseNum(String driverLicenseNum)
    {
        this.driverLicenseNum = driverLicenseNum;
    }

    public String getDriverLicenseNum()
    {
        return driverLicenseNum;
    }
    public void setDriverLicenseImage(String driverLicenseImage)
    {
        this.driverLicenseImage = driverLicenseImage;
    }

    public String getDriverLicenseImage()
    {
        return driverLicenseImage;
    }
    public void setCreatedTime(Date createdTime)
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime()
    {
        return createdTime;
    }
    public void setIsdel(String isdel)
    {
        this.isdel = isdel;
    }

    @Override
    public Date getUpdateTime() {
        return updateTime;
    }

    @Override
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getIsdel()
    {
        return isdel;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("driverId", getDriverId())
            .append("driverName", getDriverName())
            .append("phone", getPhone())
            .append("driverLicenseNum", getDriverLicenseNum())
            .append("driverLicenseImage", getDriverLicenseImage())
            .append("createdTime", getCreatedTime())
            .append("updateTime", getUpdateTime())
            .append("isdel", getIsdel())
            .append("status", getStatus())
            .toString();
    }
}
